package com.synergy.stockflow.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "material_detail")
public class MaterialDetail {
    /**
     * 详情ID
     */
    @TableId(value = "detail_id", type = IdType.ASSIGN_ID)
    private String detailId;

    /**
     * 所属工艺路线ID
     */
    @TableField(value = "process_route_id")
    private String processRouteId;

    /**
     * 物料编码
     */
    @TableField(value = "material_id")
    private String materialId;

    /**
     * 物料名称
     */
    @TableField(value = "material_name")
    private String materialName;

    /**
     * 规格型号
     */
    @TableField(value = "specifications_and_models")
    private String specificationsAndModels;

    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;

    /**
     * 备注说明
     */
    @TableField(value = "remark")
    private String remark;
}